<template>
  <div>
    <div>
      <h4>感觉功能评定</h4>
      <span style="display:block; text-align: right">感觉功能评定：（1消失 2减退 3过敏 4倒错 5正常）</span>
      <el-row  type="flex" justify="space-around">
        <el-col>浅感觉</el-col>
        <el-col :span="6">
          触觉：<el-input v-model="pgForm.chujue" clearable placeholder="请填入数值" style="width: 60%"/>
        </el-col>
        <el-col :span="6">
          痛觉: <el-input v-model="pgForm.tongjue" clearable placeholder="请填入数值" style="width: 60%"/>
        </el-col>
        <el-col :span="6">
          温觉: <el-input v-model="pgForm.wendujue" clearable placeholder="请填入数值" style="width: 60%"/>
        </el-col>
        <el-col :span="6">
          压觉: <el-input v-model="pgForm.yajue" clearable placeholder="请填入数值" style="width: 60%"/>
        </el-col>
      </el-row>

      <el-row  type="flex" justify="space-around">
        <el-col>深感觉</el-col>
        <el-col :span="6">
          运动觉: <el-input v-model="pgForm.yundongjue" clearable placeholder="请填入数值" style="width: 60%"/>
        </el-col>
        <el-col :span="6">
          位置觉: <el-input v-model="pgForm.weizhijue" clearable placeholder="请填入数值" style="width: 60%"/>
        </el-col>
        <el-col :span="6">
          震动觉: <el-input v-model="pgForm.zhendongjue" clearable placeholder="请填入数值" style="width: 60%"/>
        </el-col>
        <el-col :span="6">
          深压觉: <el-input v-model="pgForm.shenyajue" clearable placeholder="请填入数值" style="width: 60%"/>
        </el-col>
      </el-row>

      <el-row  type="flex" justify="space-around">
        <el-col>复合觉</el-col>
        <el-col :span="6">
          皮肤定位觉: <el-input v-model="pgForm.pifudingwei" clearable placeholder="请填入数值" style="width: 60%"/>
        </el-col>
        <el-col :span="6">
          两点辨别觉: <el-input v-model="pgForm.liangdianbianbie" clearable placeholder="请填入数值" style="width: 60%"/>
        </el-col>
        <el-col :span="6">
          图形觉: <el-input v-model="pgForm.tuxingjue" clearable placeholder="请填入数值" style="width: 60%"/>
        </el-col>
        <el-col :span="6">
          实体辨别觉: <el-input v-model="pgForm.shitibianbie" clearable placeholder="请填入数值" style="width: 60%"/>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "sense_function_assess",
  title: "感觉功能评定",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm: {
        chujue: '',
        tongjue: '',
        wendujue: '',
        yajue:'',
        yundongjue: '',
        weizhijue: '',
        zhendongjue: '',
        shenyajue: '',
        pifudingwei: '',
        liangdianbianbie: '',
        tuxingjue: '',
        shitibianbie: ''
      }
    };
  },
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin: 10px 0;
}

</style>

